package com.example.test.controller.Delegate;

import org.springframework.stereotype.Component;

@Component
public class DelegatePayImpl implements  DelegatePay{
    @Override
    public void pay() {
        System.out.println(111);
    }

    @Override
    public Res refund() {
        System.out.println(2222);
        return new Res();
    }
}
